﻿@model zkdao.Host.UserService.UserLogOn
@using sharp_net;
@{
    ViewBag.Title = "ZKdao - 登录";
}
<div class="min_container">
    <h2>欢迎登录！</h2>

    @using (Html.BeginForm()) {
        @Html.ValidationSummary(true, "登录失败，请更正以下错误：")
        @Html.LabelFor(m => m.Email)
        <p>
            <span class="input-prepend">
            <span class="add-on input-ico"><i class="icon-envelope"></i></span>
            @Html.TextBoxFor(m => m.Email)
            </span>
            @Html.ValidationMessageFor(m => m.Email)
        </p>
        @Html.LabelFor(m => m.LogOnPassword)
        <p>
            <span class="input-prepend">
            <span class="add-on input-ico"><i class="icon-lock"></i></span>
            @Html.PasswordFor(m => m.LogOnPassword, new { @class = "submit" })
            </span>
            @Html.ValidationMessageFor(m => m.LogOnPassword)
        </p>
        <label class="checkbox" for="RememberMe">
            @Html.CheckBoxFor(m => m.RememberMe, new { @checked = true })
            记住我？
        </label>
        <p>
            <button type="submit" class="btn submit">登录<i class="icon-arrow-right ml5"></i></button>
        </p>
    }
</div>
